import request from "@/utils/request"

export const loginApi = (data) => {
  return request.post('/auth/login', data)
}
export const getUserApi = (data) => {
  return request.get('/auth/currentUser', data)
}
